﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Weixin.Sample
{
    public sealed class Utitly
    {
        public static string SubscribeContent
        {
            get
            {
                return "欢迎订阅BB微道" + System.Environment.NewLine
                    + "现有功能："
                    + "    1:您可以发送【天气地名】获得地名所在地未来四天天气情况;" + System.Environment.NewLine
                    + "    2:您可以发送【翻译内容】获得中译英或英译中结果;" + System.Environment.NewLine
                    + "    3:您可以发送【笑话】获得一条笑话;" + System.Environment.NewLine
                    + "其它功能将会陆续开放，敬请期待!";
            }
        }

        public static string WeatherService
        {
            get
            {
                return "http://api.map.baidu.com/telematics/v3/weather?location={0}&ak=g86PLcv0YlSUp70IKYDlDNrG&output=json";
            }
        }

        public static string YoudaoService
        {
            get
            {
                return "http://fanyi.youdao.com/openapi.do?keyfrom=awebsite&key=1521753830&type=data&doctype=json&version=1.1&q={0}";
            }
        }

        public static string ChongdongService
        {
            get
            {
                return "http://www.tuling123.com/openapi/api?key=0c102b2a37e1aba4a1467475fe40d086&info={0}";
            }
        }
    }
}